//
//  WiiChoseRepeatCollectionViewCell.m
//  iFeller
//
//  Created by Wii on 15/12/18.
//  Copyright © 2015年 Wii. All rights reserved.
//

#import "WiiAddTagsCollectionViewCell.h"

@interface WiiAddTagsCollectionViewCell ()
@property (nonatomic , strong) NSMutableArray *TagsArray;
@end

@implementation WiiAddTagsCollectionViewCell

- (instancetype)initWithFrame:(CGRect)frame{
    self = [super initWithFrame:frame];
    if (self) {
//        self.TagsArray = [NSMutableArray array];
        [self initUserInterface];
    }
    return self;
}

- (void)initUserInterface{
    self.contentView.backgroundColor = [UIColor clearColor];
    
    self.tagsButton = [UIButton buttonWithType:UIButtonTypeCustom];
    self.tagsButton.frame = CGRectMake(0, 0, 60, 30);
    self.tagsButton.center = CGPointMake(self.contentView.frame.size.width / 2, self.contentView.frame.size.height / 2);
    [self.tagsButton setTitleColor:[UIColor blackColor] forState:UIControlStateNormal];
    self.tagsButton.layer.cornerRadius = 15;
    self.tagsButton.layer.borderWidth =1;
    self.tagsButton.layer.borderColor = [UIColor greenColor].CGColor;
    
    self.delButton = [UIButton buttonWithType:UIButtonTypeCustom];
    [self.delButton setBackgroundImage:[UIImage imageNamed:@"iconfont-jian-2"] forState:UIControlStateNormal];
    self.delButton.frame = CGRectMake(self.contentView.frame.size.width - 10, 0, 10, 10);
//    self.delButton.hidden = YES;
    
    [self.contentView addSubview:self.delButton];
    [self.contentView addSubview:self.tagsButton];
    
}


@end
